//
//  contentModel.m
//  mainpage
//
//  Created by Anthony Zhang on 2018/7/24.
//  Copyright © 2018年 John Zheng. All rights reserved.
//

#import "contentModel.h"

@implementation contentModel

+ (instancetype)modelWithName:(NSString *)name headview:(NSString *)headview essay:(NSString* )essay {
    return [[self alloc] initWithName:name headview:headview essay:essay];
}

- (instancetype)initWithName:(NSString *)name headview:(NSString *)headview essay:(NSString* )essay {
    if (self = [super init]) {
        self.name = name;
        self.headview = headview;
        self.essay = essay;
    }
    return self;
}

@end
